home *** CD-ROM | disk | FTP | other *** search
/ Aminet 8 / Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso / Aminet / util / batch / BGUIMenu.lha / Examples / Example1 next >
AmigaDOS Script File  |  1995-09-04  |  332b  |  12 lines

  1. .KEY arg1,arg2,arg3,arg4
  2. ; This is an example script using BGUIMenu
  3. ; The file "example1.menu" contains the menu definitions.
  4. ; The enviroment variable "ex1var" will hold the menu selection value.
  5. ;
  6. echo "Starting BUIMenu..."
  7. BGUIMenu >nil: example1.menu v=ex1var
  8. ;
  9. if $ex1var eq 5
  10.    echo "You chose selection 5: do nothing"
  11. endif
  12.